home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 5
/
Apprentice-Release5.iso
/
Source Code
/
C
/
Applications
/
Python 1.3.3
/
stdwin
/
H
/
vtrm.h
< prev
next >
Wrap
Text File
|
1995-12-21
|
1KB
|
33 lines
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1991. */
/*
* Terminal capabilities. These correspond to bits set by trmstart in its
* parameter flags parameter.
*/
#define HAS_STANDOUT 1 /* Terminal has inverse video or underline */
#define CAN_SCROLL 2 /* Terminal can insert/delete lines */
#define CAN_OPTIMISE 4 /* Terminal can insert/delete characters */
/*
* Error codes returned by trmstart.
*/
#define TE_OK 0 /* No errors */
#define TE_TWICE 1 /* Trmstart called again */
#define TE_NOTERM 2 /* $TERM not set or empty */
#define TE_BADTERM 3 /* $TERM not found in termcap database */
#define TE_DUMB 4 /* Terminal too dumb */
#define TE_NOTTY 5 /* Stdin not a tty or cannot open "/dev/tty" */
#define TE_NOMEM 6 /* Can't get enough memory */
#define TE_BADSCREEN 7 /* Bad $SCREEN */
#define TE_OTHER 8 /* This and higher are reserved errors */
/*
* Possible modes; only standout is currently implemented.
*/
#define PLAIN 0 /* normal characters */
#define STANDOUT 1 /* in inverse video */
#define UNDERLINE 2 /* underlined */